sprintf(txt,"%sThe analysed signal exceeds the normal range between -32768.0 and 32767.0\nIt might clip in the following effect and it will clip if connected to master output.\n",txt);
sprintf(txt,"%sThe input volume slider of the next machine should be set to under %d.\n",txt,(int)(16384*( (max > min) ? (32767.0/max) : (32768.0/min) ) ) );
sprintf(txt,"%sThe master output volume slider should have a value over ",txt);
sprintf(txt,"%s%d to prevent clipping.\n",txt,(int)(log10((max>min)?(32767.0/max):(32768.0/min))*((20.0*16384.0)/(-80.0))));
} else
{
sprintf(txt,"%sThe analysed signal was in the normal range between -32768.0 and 32767.0. \nThere is no need to adjust the volume sliders.\n",txt);
}
}
void mi::print_time(char *txt,unsigned long samples)
{
unsigned long secs;
unsigned long samplespersec=pMasterInfo->SamplesPerSec;
unsigned long samplespertick=pMasterInfo->SamplesPerTick;
pCB->MessageBox(miMACHINE_NAME"\n\nBuild date: "__DATE__"\nVersion: "miVERSION"\nCoded by: "miMACHINE_AUTHOR"\nThanks to #buzzdev for support.\n\nCheck out http://www.iki.fi/apo/buzz/\nfor more buzz stuff.\n\nExcellent skin made by Hymax.");
break;
}
}
char const *mi::DescribeValue(int const param, int const value)